package com.zjw.core.algorithm;

import org.apache.commons.lang3.StringUtils;

public class NullPointTest {

    public static void main(String[] args) {
        Integer a = null;
        Integer b = null;
      //  System.out.println(add(a,b));

        System.out.println(equal("888", null));
        System.out.println(equal(null, "null"));
    }

    public static int add(int x,int y){
        int z = x + y;
        return z;
    }

    public static boolean equal(String x,String y){

       // return StringUtils.equals(x,y);
        return x.equals(y);
    }


}
